package com.example.szh.mvp.di;

import com.example.szh.mvp.contract.SplashContract;
import com.example.szh.mvp.model.SplashModel;

import dagger.Module;
import dagger.Provides;

@Module
public class SplashMoudes {
    private SplashContract.ISplashIView view;
    public SplashMoudes(SplashContract.ISplashIView view){
        this.view=view;
    }
    @Provides
    public SplashContract.ISplashIView providerIView(){
        return view;
    }
    @Provides
    public SplashContract.ISplashIModel providerIModel(SplashModel model){
        return model;
    }
}
